var cc__decorate = __decorate;
Object.defineProperty(exports, "__esModule", {
  value: true
});
var $2Platformconf = require("Platformconf");
var cc__decorator = cc._decorator;
var ccp_ccclass = cc__decorator.ccclass;
var ccp_property = cc__decorator.property;
var def_ComPlatshow = /* */function (_cc$Component8) {
  function _ctor() {
    var _this15;
    babel_classCallCheck(this, _ctor);
    _this15 = _callSuper(this, _ctor, arguments);
    _this15.wxshow = false;
    _this15.kwaishow = false;
    _this15.ttshow = false;
    _this15.qqshow = false;
    _this15.pcshow = false;
    _this15.opposhow = false;
    _this15.vivoshow = false;
    _this15.iosWeb = false;
    _this15.zfbshow = false;
    _this15.blhow = false;
    return _this15;
  }
  babel_inherits(_ctor, _cc$Component8);
  return babel_createClass(_ctor, [{
    key: "onEnable",
    value: function onEnable() {
      var e = $2Platformconf.default.PlatformType;
      this.node.active = e == $2Platformconf.ePlatformType.WXGame && this.wxshow || e == $2Platformconf.ePlatformType.TTGame && this.ttshow || e == $2Platformconf.ePlatformType.KWaiGame && this.kwaishow || e == $2Platformconf.ePlatformType.QQGame && this.qqshow || e == $2Platformconf.ePlatformType.Pc && this.pcshow || e == $2Platformconf.ePlatformType.VIVOGame && this.vivoshow || e == $2Platformconf.ePlatformType.OPPOGame && this.opposhow || e == $2Platformconf.ePlatformType.IOS_WEB && this.iosWeb || e == $2Platformconf.ePlatformType.BLGame && this.blhow || e == $2Platformconf.ePlatformType.ZFBGame && this.zfbshow;
      this.node.active && (this.node.opacity = 255);
    }
  }]);
}(cc.Component);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "wxshow", undefined);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "kwaishow", undefined);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "ttshow", undefined);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "qqshow", undefined);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "pcshow", undefined);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "opposhow", undefined);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "vivoshow", undefined);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "iosWeb", undefined);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "zfbshow", undefined);
cc__decorate([ccp_property], def_ComPlatshow.prototype, "blhow", undefined);
def_ComPlatshow = cc__decorate([ccp_ccclass], def_ComPlatshow);
exports.default = def_ComPlatshow;